DevJourney

Qwik/Sample Firebase App/src/components/hero/hero.module.css

.hero {
  display: flex;
  vertical-align: middle;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  height: 450px;
  justify-content: center;
  gap: 40px;
}

.hero-image {
  width: 100%;
  position: absolute;
  height: auto;
  object-fit: cover;
  z-index: -1;
  opacity: 0.2;
  pointer-events: none;
}

.hero p {
  color: white;
  margin: 0;
  font-size: 1rem;
}

.button-group {
  display: flex;
  flex-direction: row;
  gap: 24px;
}

@media screen and (min-width: 768px) {
  .hero {
    gap: 60px;
    height: 500px;
  }

  .hero p {
    font-size: 1.3rem;
  }
}
View on GitHub